<?php
	
	$this->breadcrumbs=array(
  		'Catalogs'=>array('catalog/index/'),
	);

?>

<div class="large-12 medium-12 small-12 columns table">
	<?php 
		foreach($model as &$catalog){
			echo '<div class="row"><h3 class="larg-12 columns"><a href="'.$this->createUrl('catalog/view', array('id'=>$catalog->id)).'">'.$catalog->title.'</a></h3>';
			foreach($catalog->catalogItems as &$catalogItem){
				echo '<div class="large-3 small-6 columns">';
				echo $this->renderPartial('../_card', array('model'=>$catalogItem));
				echo '</div>';
			}
			echo '</div>';
		}
	?>
</div>